package array.pgm1;

public class MatrixMain {
	public static void main(String[] args) {
		Matrix m = new Matrix(5, 5);
		int c = 0;
		for (int i = 0; i < m.getRows(); i++)
			for (int j = 0; j < m.getColumn(); j++)
				m.SetElement(i, j, c++ % 8);
		m.display();
		System.out.println("Transpose is");
		Matrix transpose = m.Transpose();
		transpose.display();
	}
}
